package com.attendance.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

/**
 *
 * 请假申请表
 *
 */
public class Apply implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer Id;


	/** 请假者编号 */
	private Integer uid;

	/** 开始时间 */
	private Date startTime;

	/** 结束时间 */
	private Date endTime;

	/** 请假类型 */
	private Integer type;

	/** 审批状态,0未审批，1部门经理，2副经理，3总经理，4,驳回，5通过 */
	private Integer state;

	/** 总天数 */
	private Integer total;

	/** 事由 */
	private String reason;

	/** 部门经理批示 */
	private String instructions1;

	/** 副经理批示 */
	private String instructions2;

	/** 总经理批示 */
	private String instructions3;

	/** 备注 */
	private String memo;

	public Apply() {
	}


	public Integer getId() {
		return this.Id;
	}

	public void setId(Integer Id) {
		this.Id = Id;
	}

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getTotal() {
		return this.total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public String getReason() {
		return this.reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getInstructions1() {
		return this.instructions1;
	}

	public void setInstructions1(String instructions1) {
		this.instructions1 = instructions1;
	}

	public String getInstructions2() {
		return this.instructions2;
	}

	public void setInstructions2(String instructions2) {
		this.instructions2 = instructions2;
	}

	public String getInstructions3() {
		return this.instructions3;
	}

	public void setInstructions3(String instructions3) {
		this.instructions3 = instructions3;
	}

	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Override
	public String toString() {
		return "Apply{" +
				"Id=" + Id +
				", uid=" + uid +
				", startTime=" + startTime +
				", endTime=" + endTime +
				", type=" + type +
				", state=" + state +
				", total=" + total +
				", reason='" + reason + '\'' +
				", instructions1='" + instructions1 + '\'' +
				", instructions2='" + instructions2 + '\'' +
				", instructions3='" + instructions3 + '\'' +
				", memo='" + memo + '\'' +
				'}';
	}
}
